@layout("/common/_container.html"){
<style>.btnBox{position:fixed;bottom:0;width:100%;padding:10px 0;text-align:center;height:45px;}.btnBox>button{margin:0;color:white;background:#6090b8;width:100px;font-size:1em;}</style>
<div style="height: 100%;">
    <input id="amount" type="hidden" value="${amount}" /> 单个应收
    <input id="payServiceId" type="hidden" value="${payServiceId}" />  项目ID
    <input id="deductionAmount" type="hidden" value="${deductionAmount}" /> 抵用总和
    <input id="totaldDepositAmount" type="hidden" value="${totaldDepositAmount}" />  划扣除开目前的总和
    <div style="background: #6090b8;color: white;padding: 5px 10px;height: 32px;">储值划扣</div>
    <div style="padding: 10px;height: calc(100% - 77px);">
        <div style="border-top: 2px solid #ff7e00;border-bottom: 1px solid #ff7e00;display: flex;padding: 5px 0;height: 35px;">
            <div style="flex: 1">项目名称</div>
            <div style="flex: 1">剩余储值</div>
            <div style="flex: 1">划扣金额</div>
        </div>
        <div id="earnestMoneyList" style="height: calc(100% - 35px);">
        </div>
    </div>
    <div class="btnBox">
        <button onclick="CommitDepositAmount()" class="btn" type="button">确定</button>
        <button class="btn" type="button" style="background: #999999" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/earnestMoney_list.js?v=20200718"></script>
@}